//
//  WmcUploadImageV2Model.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/6/14.
//

import Foundation

class WmcUploadImageV2Model: YPNetworkJsonProtocol {
    // Lifecycle

    required init() {}

    // Internal

    /// uuid
    var uuid: String = NSUUID().uuidString

    /// 照片路径
    var photoPath: String = ""
    
    /// 预览图路径
    var previewImagePath: String = ""

    /// 参数
    var parameters: [String: Any] = [:]
    
    /// 同步信息
    var syncInfo: [String: Any]?
    
    /// 是否正在上传
    var uploading: Bool = false
    
    func mapping(mapper: HelpingMapper) {
        mapper <<< self.photoPath <-- "photo_path"
    }
}
